# -*- mode: snippet -*-
# contributor: SpringHan
# name: class-inheritance
# key: clasi
# --
class ${1:name}: ${2:base}
{
      $0
public:
  $1() {}
  ${3:virtual } ~$1() {}
};